package pingji.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import pingji.controller.submit.SubmitObject;
import pingji.controller.submit.SubmitResponseObject;
import pingji.dao.upload.DeleteOrderObject;
import pingji.pojo.Order;
import pingji.pojo.QueryOrderListObject;

import java.util.List;

@Mapper
public interface OrderMapper {
    List<QueryOrderListObject> selectByUserId(Integer id);
    void addOrder(Order o);

    void deleteOrder(DeleteOrderObject doo);

    List<QueryOrderListObject> selectAllOrder(Integer id);

    void submitUpdate(SubmitObject so);

    Order selectById(Integer id);

    void shensu(DeleteOrderObject doo);
}
